package com.anti_poverty_detection_system.springboot.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZITONG BAI
 * @since 2024-06-17
 */
@Getter
@Setter
@TableName("households")
public class Households implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "household_id", type = IdType.AUTO)
    private Integer householdId;

    @TableField("user_id")
    private Integer userId;

    @TableField("personal_info")
    private String personalInfo;

    @TableField("poverty_status")
    private String povertyStatus;
}
